package com.bw.bean;

import java.util.List;

/**
 * @program: maven_ZK_xinshengil
 * @description
 * @author: Nick.Xin
 * @create: 2020-09-14 09:05   哈哈哈哈哈666666
 **/
public class Lei {
    private Integer lid;
    private String lname;
    private List<Ying> listy;

    public Lei() {
    }

    public Lei(Integer lid, String lname, List<Ying> listy) {
        this.lid = lid;
        this.lname = lname;
        this.listy = listy;
    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public List<Ying> getListy() {
        return listy;
    }

    public void setListy(List<Ying> listy) {
        this.listy = listy;
    }

    @Override
    public String toString() {
        return "Lei{" +
                "lid=" + lid +
                ", lname='" + lname + '\'' +
                ", listy=" + listy +
                '}';
    }
}
